#!/usr/bin/env bash

set -euo pipefail

missing=$(ldd $1)

if (echo "$missing" | grep not.found) ; then
  echo "Missing libraries!"
  exit 1
fi
